<?

class ssi
{
	public static function store( $body )
	{
		$prefix = config::all()->ssi['namespace'] ? config::all()->ssi['namespace'] : 'phlight:';
		cache::set( $prefix . $_SERVER['REQUEST_URI'], $body, context::get('action')->ssi_ttl );
	}
}